//
//  HLPlayControlView.h
//  HLMusicBox
//
//  Created by hulinhu on 2017/12/27.
//  Copyright © 2017年 hulinhu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HLImageView.h"

typedef void(^btnClick)(NSInteger index);

@interface HLPlayControlView : UIView

@property (nonatomic, strong) HLImageView *playSongImage; // 旋转图片
@property (nonatomic, strong) UISlider *songSlider;  // 歌曲进度条
@property (nonatomic, strong) UIImageView *playAndPauseBtn;  // 播放,暂停
@property (nonatomic, strong) UIImageView *nextSongBtn;  // 下一曲
@property (nonatomic, strong) UILabel *songName;    // 歌曲名字
@property (nonatomic, strong) UILabel *singerName;  // 歌手名字


- (instancetype)initWithFrame:(CGRect)frame
             playViewBtnClick:(btnClick)btnClick;

-(void)setModel:(NSObject *)model;

@end
